Skip to content

Instantly share code, notes, and snippets.

@eviltester
eviltester / gist:11093f0e4c501a41990e227393184eda
Last active February 11, 2026 02:10
uncheck twitter interests
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;});
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 11, 2026 02:10
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:

https://github.com/reireias/dotseeker

grep -r -E -v -h '^\s*#' files | grep --color=none -E "^\s*alias " | sed -e 's/#.*//g' -e 's/^\s*//g' -e 's/\s*$//g' | sort | uniq -c | sort -nr
 90 alias ls='ls --color=auto'
 87 alias grep='grep --color=auto'
 59 alias fgrep='fgrep --color=auto'

59 alias egrep='egrep --color=auto'

@rourke
rourke / README.md
Last active February 11, 2026 02:10
qBittorrent healthcheck script

qBittorrent healthcheck script

Important

Update 23 March 2025: This script is redudent if you use Gluetun VPN because it supports a post port forwarding script. See details here with a qBittorrent example.

A qBittorrent script that takes advantage of the docker healthcheck ability to do a few things every x seconds:

  1. Check if qBitorrent is up
  2. If yes, check if the configured listening port is the same as the forwarded port of the VPN provider.
@vasanthk
vasanthk / System Design.md
Last active February 11, 2026 02:06
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@Randall71
Randall71 / WithAbiFilters.js
Created June 20, 2025 18:08
Config Plugin to just build expo app for specific architectures of processor (armeabi-v7a, arm64-v8a, x86, x86-64)
const { withGradleProperties, withAppBuildGradle } = require('@expo/config-plugins');
const withAbiFilters = (config, { abiFilters = ['arm64-v8a'] } = {}) => {
console.log('🔧 ABI Filter plugin is running!', abiFilters);
// Set gradle.properties
config = withGradleProperties(config, (config) => {
// Convert array to comma-separated string for gradle.properties
const architecturesString = abiFilters.join(',');
@jwakely
jwakely / README.md
Created February 7, 2026 18:10
Apache configuration for Poison Fountain

To enable Poison Fountain for Apache on RHEL/CentOS, copy the poison_fountain.conf file in this gist to /etc/httpd/conf.d/poison_fountain.conf (if you've already configured mod_proxy then omit the two LoadModule lines).

Then tell SELinux that apache is allowed to make outbound http requests by running:

setsebool -P httpd_can_network_connect on

Then restart apache:

@OmerFarukOruc
OmerFarukOruc / opencode-kimi-setup.md
Last active February 11, 2026 02:04
OpenCode + Kimi For Coding (K2.5) Setup

OpenCode + Kimi For Coding (K2.5) Setup

1. Add credentials

opencode auth login
# Select "Kimi For Coding"
# Enter your API key (sk-kimi-...)
@karenpayneoregon
karenpayneoregon / QueryExtensions.cs
Created February 10, 2026 22:36
EF Core extension to assist with debugging during development phase of a project
using System.Runtime.CompilerServices;
using Microsoft.EntityFrameworkCore;
namespace TODO.Classes.Extensions;
/// <summary>
/// Provides extension methods for enhancing and debugging Entity Framework Core queries.
/// </summary>
public static class QueryExtensions
{
@nicobailon
nicobailon / SKILL.md
Last active February 11, 2026 02:03
Pi skill for Codex CLI. Place in ~/.pi/agent/skills/codex-cli/SKILL.md. Gives pi the flags, config options, sandbox modes, and interactive-shell patterns for launching and controlling Codex CLI sessions.
name description
codex-cli
OpenAI Codex CLI reference. Use when running codex in interactive_shell overlay or when user asks about codex CLI options.

Codex CLI (OpenAI)

Commands

| Command | Description |